package com.bbcare.comm;

/**
 * @name: 常量定义类
 * @author: DemonLee
 * @createTime: 2017.4.13
 * @description: 系统常量，业务常量等定义
 * @modify:
 *
 */
public class Constants {
    // 分隔符定义
    public static final String dot = ".";
    public static final String SPLIT_STR = "※";
    public static final String BILL_SPLIT_STR = "|";
    public static final String COMMA_SPLIT_STR = ",";
    public static final String QRY_SPLIT_STR = ":※:";
    public static final char L_BRACE_CHAR = '{';
    public static final char R_BRACE_CHAR = '}';
    public static final String L_BRACE_STR = "[{";
    public static final String R_BRACE_STR = "}]";
    public static final String UNDER_LINE_SPLIT_STR = "_";
    public static final String COLON_SPLIT_STR = ":";
    public static final String L_MID_STR = "[";
    public static final String R_MID_STR = "]";
    public static final String TILDE_SPLIT_STR = "~";
    // 连接符
    public static final String SPE3 = "&";
    // 赋值符
    public static final String SPE4 = "=";
    // 问号符
    public static final String SPE5 = "?";
    // 换行符
    public static final String LF = "\n";

    // 数学运算符定义
    public static final String PLUS_CHAR = "+";
    public static final String SUBTRACT_CHAR = "-";
    public static final String MULTI_CHAR = "*";
    public static final String DIVI_CHAR = "/";

    // sql关键字定义
    public static final String EXPR_IN_STR = "in";
    public static final String EXPR_BETWEEN_STR = "between";
    public static final String EXPR_LIMIT_STR = "limit";

    // 操作更新类型
    public static final String UPDATE_TYPE_INSERT = "I";// 插入
    public static final String UPDATE_TYPE_DELETE = "D";// 删除
    public static final String UPDATE_TYPE_UPDATE_U = "U";// 更新前
    public static final String UPDATE_TYPE_UPDATE_X = "X";// 更新后

    // 入参节点定义
    public static final String INF_INPUTPARAM_COMMONFIELD = "data";// 服务入参根节点：data
    public static final String INF_INPUTPARAM_OPRINFO_FIELD = "oprInfo";// 服务入参操作信息节点：oprInfo
    public static final String INF_INPUTPARAM_DATATABLE_FIELD = "args";// Datatable表格入参：args

    // 方案相关常量定义
    /*
     * 未应用方案只能使用该方案上一个版本， 若无上一个版本，即当前版本为第一个版本，则该方案禁止应用到队列中， 最新版本号为1的方案即为新方案
     */
    public static final String SCHEME_STATUS_DRAFT = "0";// 草稿（未应用）方案
    public static final String SCHEME_STATUS_NORMAL = "1";// 正常方案
    public static final String SCHEME_STATUS_DELETE = "2";// 已删除方案

    public static final String SCHEME_TYPE_PRIVATE = "0";// 个人私有方案
    public static final String SCHEME_TYPE_TENANT = "1";// 租户私有方案
    public static final String SCHEME_TYPE_PUBLIC = "2";// 公共方案

    public static final int SCHEME_INIT_VERSION = 0; // 方案初始版本值(0版本无法应用到队列中)
    public static final int SCHEME_FIRST_VERSION = 1;// 方案第1版本

    public static final int SCHEME_BUSI_TYPE_0 = 0; // 0:科研随访方案
    public static final int SCHEME_BUSI_TYPE_1 = 1; // 1:门诊诊疗方案
    public static final int SCHEME_BUSI_TYPE_2 = 2; // 2:门诊和科研

    // 系统类型
    public static final String CLOUND_SYSTEM_TYPE_FOR_FOLLOW = "00";// 随访系统
    public static final String CLOUND_SYSTEM_TYPE_FOR_OUTPATIENT = "01";// 诊疗系统
    public static final String CLOUND_SYSTEM_TYPE_FOR_BOTH_FUOUT = "02";// 随访与诊疗同时存在

    public static final int QUEUE_DEFAULT_SCHEME_SEQ_NO = 0;// 队列下某个方案类型下的默认方案

    // 任务执行类型方式
    public static final String SCHEME_TASK_EXECUTE_TYPE_0 = "0"; // 0：应用后触发（当天建档+第一次随访，然后按周期进行第n次随访）
    public static final String SCHEME_TASK_EXECUTE_TYPE_1 = "1"; // 1：纠正年龄触发
    public static final String SCHEME_TASK_EXECUTE_TYPE_2 = "2"; // 2：出生年龄触发
    public static final String SCHEME_TASK_EXECUTE_TYPE_3 = "3"; // 3：出院后触发
    public static final String SCHEME_TASK_EXECUTE_TYPE_4 = "4"; // 4：初检孕周日期触发（孕产妇随访）
    public static final String SCHEME_TASK_EXECUTE_TYPE_5 = "5"; // 5：末次月经日期触发（孕产妇随访）
    public static final String SCHEME_TASK_EXECUTE_TYPE_6 = "6"; // 6：应用后触发（当天建档，然后按周期进行第n次随访）
    public static final String SCHEME_TASK_EXECUTE_TYPE_7 = "7"; // 7：分娩日期触发（孕产妇产后随访）

    // 任务类型
    public static final String TASK_TYPE_SCHEME_SCHEDULE = "0";// 0：门诊任务
    public static final String TASK_TYPE_SCHEME_TEMP = "1"; // 1：线上问卷任务
    public static final String TASK_TYPE_NONSCHEME_REALTIME = "2"; // 2：线上主诉登记任务

    // 主诉登记任务规则类型
    public static final String TASK_TYPE_SCHEME_SELFREPORT_COMMON = "0";// 0：通用任务内容，整个周期内都是相同的问卷
    public static final String TASK_TYPE_SCHEME_SELFREPORT_MONTHAGE = "1";// 1：纠正月龄规则，每个月龄的主诉登记内容不相同

    // 任务序号
    public static final int TASK_SEQ_FOR_INIT = 0;// 患者建档任务序号
    public static final int TASK_SEQ_FOR_FIRST = 1;// 患者线上随访或线上主诉登记第一个任务序号
    public static final int CP_SEQ_FOR_INIT = 0;// 临床路径中第一个节点的序号

    // 临时随访
    public static final String TASK_NAME_INTRO_FOR_TMP_TASK = "临时随访";
    public static final int TASK_EXECUTEDAY_FOR_TEMP_TASK = 0;// 执行天数
    public static final int TASK_WARNDAY_FOR_TEMP_TASK = 0;// 警戒期天数
    public static final int TASK_WINDOWDAY_FOR_TEMP_TASK = 0;// 窗口期天数
    /* 警戒器天数是 3 */
    public static final int TASK_WARNDAY_FOR__TASK = 3;// 警戒期天数
    // 队列相关常量定义
    public static final String QUEUE_STATUS_NOMAL = "1";// 队列状态正常
    public static final String QUEUE_STATUS_DELETE = "0";// 队列已被删除
    public static final String QUEUE_STATUS_ENROLMENT = "2";//亲子乐园班级队列状态-报名中

    public static final String QUEUE_TYPE_PRIVATE = "0";// 个人私有队列
    public static final String QUEUE_TYPE_TENANT = "1";// 租户私有队列
    public static final String QUEUE_TYPE_PUBLIC = "2";// 公共队列
    public static final String QUEUE_TYPE_PRE= "3";// 预诊队列

    public static final int QUEUE_TARGET_NUM_INFINITE = -1;// 队列目标人数不设上限，可以任意添加患者

    // 来源渠道source_type(channel_type)
    public static final String PATIENT_SOURCE_TYPE_SCAN_SYMPTOM = "1";// 扫码主诉渠道（目前主要国妇婴使用）
    public static final String PATIENT_SOURCE_TYPE_DOOR = "2";// web端门诊渠道（医生之间数据交互也用这个）
    public static final String PATIENT_SOURCE_TYPE_WECHAT_OFFICIAL_ACCOUNT = "4";// 微信公众号渠道
    public static final String PATIENT_SOURCE_TYPE_SCAN = "5";// 诊间扫码渠道
    public static final String PATIENT_SOURCE_TYPE_SYS_BACK = "6";// 系统后台进程自动处理渠道
    public static final String PATIENT_SOURCE_TYPE_APP = "7";// app渠道
    public static final String PATIENT_SOURCE_TYPE_EHR = "8";// 电子健康档案查询渠道
    public static final String PATIENT_SOURCE_TYPE_MINI_PROGRAM = "9";// 小程序渠道

    // 患者队列信息相关常量定义
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_NOMAL = "1";// 正常
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_DELETE = "0";// 失效（删除）
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_SUSPEND = "2";// 暂停
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_TRANSFER = "3";// 转移
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_AUDIT = "4";// 待审核
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_NOTPASS = "5";// 审核不通过
    public static final String PATIENT_QUEUESCHEME_USER_STATUS_ADVANCE = "6";// 预建档状态

    // 患者队列审核确认状态（pt_queuescheme_info.confirm_flag）
    public static final String PATIENT_QUEUESCHEME_USER_AUDIT_CONFIRM_INIT = "N";// 未审核
    public static final String PATIENT_QUEUESCHEME_USER_AUDIT_CONFIRM_SUCCESS = "Y";// 审核通过
    public static final String PATIENT_QUEUESCHEME_USER_AUDIT_CONFIRM_FAILED = "F";// 审核不通过

    // 转归类型 1:康复 2:加重 3:死亡 4: 失访 5:治疗中 6:好转
    public static final String PATIENT_QUEUESCHEME_USER_AUDIT_CHANGE_STATUS_1 = "1";
    public static final String PATIENT_QUEUESCHEME_USER_AUDIT_CHANGE_STATUS_2 = "2";
    public static final String PATIENT_QUEUESCHEME_USER_AUDIT_CHANGE_STATUS_3 = "3";
    public static final String PATIENT_QUEUESCHEME_USER_AUDIT_CHANGE_STATUS_4 = "4";
    public static final String PATIENT_QUEUESCHEME_USER_AUDIT_CHANGE_STATUS = "5";
    public static final String PATIENT_QUEUESCHEME_USER_AUDIT_CHANGE_STATUS_6 = "6";

    // 队列建档审核类型（fu_queue_info.audit_type）
    public static final String QUEUE_AUDIT_TYPE_FOR_PRE = "01";// 01事先审核
    public static final String QUEUE_AUDIT_TYPE_FOR_PAST = "02";// 02事后审核

    // 随访任务实例状态
    public static final String PATIENT_TASK_STATUS_INIT = "0";// 任务未开始
    public static final String PATIENT_TASK_STATUS_FINISH = "1";// 任务已完成
    public static final String PATIENT_TASK_STATUS_EXPIRED = "2";// 任务已过期（未完成）

    // 随访2.0任务实例审核状态
    public static final String PATIENT_TASK_AUDIT_STATUS_INIT = "0";// 初始化（未完成）
    public static final String PATIENT_TASK_AUDIT_STATUS_NORMAL = "1";// 正常，审核通过（完成）
    public static final String PATIENT_TASK_AUDIT_STATUS_CHECKING = "4";// 任务待审核（未完成）
    public static final String PATIENT_TASK_AUDIT_STATUS_NOTPASS = "5";// 任务审核不通过（未完成）

    // 队列医生角色
    public static final String QUEUE_DOCTOR_ADMIN = "01";// 管理员
    public static final String QUEUE_DOCTOR_COMMON = "02";// 管理医生
    public static final String QUEUE_DOCTOR_ASSISTANT = "03";// 助理

    // 孕周相关常量定义
    public static final int PREGNANCY_CALC_UNIT_WEEK = 7;// 一周7天
    public static final int YEAR_DAY = 365;// 一年365天
    public static final int MONTH_DAY = 30;// 一月30天

    // 队列患者 暂停 恢复 操作码
    public static final String PATIENT_QUEUE_OPCODE_SUSPEND = "0";// 暂停
    public static final String PATIENT_QUEUE_OPCODE_RECOVERY = "1";// 恢复

    // 操作类型
    public static final String OPCODE_ADD = "1";
    public static final String OPCODE_UPLOAD = "4";
    public static final String OPCODE_DELETE = "2";
    public static final String OPCODE_MODIFY = "3";

    // 操作人 类型 患者、医生
    public static final String OPCODE_TYPE_DOCTOR = "0";
    public static final String OPCODE_TYPE_PATIENT = "1";
    public static final String OPCODE_TYPE_BG_ADMIN = "2";

    // 操作类型op_type
    public static final String OP_TYPE_SELF = "1";// 患者自助
    public static final String OP_TYPE_DOOR = "2";// 门诊
    public static final String OP_TYPE_DOCTOR = "3";// 医生自助管理方案等
    public static final String OP_TYPE_QUEUE = "4";// 患者队列
    public static final String OP_TYPE_BG_ADMIN = "5";// 后台程序自动处理

    // 活跃 业务类型（对应bs_static_param.type=1005）
    public static final String PATIENT_ACTIVE_BUSI_TYPE_1 = "1";// 1 家族病史
    public static final String PATIENT_ACTIVE_BUSI_TYPE_2 = "2";// 2 个人病史
    public static final String PATIENT_ACTIVE_BUSI_TYPE_3 = "3";// 3 病理异常
    public static final String PATIENT_ACTIVE_BUSI_TYPE_4 = "4";// 4 体检异常
    public static final String PATIENT_ACTIVE_BUSI_TYPE_5 = "5";// 5 家庭评估
    public static final String PATIENT_ACTIVE_BUSI_TYPE_6 = "6";// 6 监测数据
    public static final String PATIENT_ACTIVE_BUSI_TYPE_7 = "7";// 7 患者建档
    public static final String PATIENT_ACTIVE_BUSI_TYPE_8 = "8";// 8 线上随访
    public static final String PATIENT_ACTIVE_BUSI_TYPE_9 = "9";// 9 门诊随访
    public static final String PATIENT_ACTIVE_BUSI_TYPE_11 = "11";// 11 队列患者管理
    public static final String PATIENT_ACTIVE_BUSI_TYPE_13 = "13";// 13 评估量表(问卷）
    public static final String PATIENT_SEND_MSG_TYPE = "1121";// 13 短信发送方式
    // 10 医生管理（方案管理，失访管理等等）
    public static final String DOCTOR_ACTIVE_BUSI_TYPE_10 = "10";
    // 12 医生排班设置
    public static final String DOCTOR_ACTIVE_OUT_PATIENT_SCHEDULE_BUSI_TYPE_12 = "12";
    // 21 后台进程更新
    public static final String DOCTOR_ACTIVE_BUSI_TYPE_21 = "21";

    // app端患者登陆 退出
    public static final String PATIENT_ACTIVE_APP_LOGIN = "22";

    public static final String PATIENT_AUDIT_PASS = "0";
    public static final String PATIENT_AUDIT_NOTPASS = "1";

    // redis数据库分区使用（select index [0,1,...,15]）
    public static final int REDIS_DB_INDEX_PATIENT = 1;// 患者相关使用分区1
    public static final int REDIS_DB_INDEX_CONFIG = 2;// 配置表相关使用分区2
    public static final int REDIS_DB_INDEX_EVALUATION = 3;// 评估数据使用分区
    public static final int REDIS_DB_INDEX_EVALUATION_1 = 0;// 1.0评估数据使用分区
    public static final int REDIS_DB_INDEX_NUTRITIOUS = 4;// 营养方案数据使用分区
    public static final int REDIS_DB_INDEX_EHR = 5;// 数据元、CSB信息使用分区

    // redis统计指标相关常量（如前缀，日周月年等）
    public static final String REDIS_DATA_DAY = "day";// 按天统计
    public static final String REDIS_DATA_WEEK = "week";// 按周统计
    public static final String REDIS_DATA_MONTH = "month"; // 按月统计
    public static final String REDIS_DATA_YEAR = "year";// 按年统计
    public static final String REDIS_DATA_TOTAL = "total";// 总数

    public static final String PATIENT_DAY_ADD_BY_QUEUE_KEY = "ptQuDay"; // 按天统计队列新增患者数key
    public static final String PATIENT_TOTAL_ADD_BY_QUEUE_KEY = "ptQuToal"; // 统计队列新增患者总数key
    public static final String PATIENT_DAY_ADD_BY_AUTHOR_KEY = "ptAuDay"; // 按天统计登录账户新增患者数key
    public static final String PATIENT_TOTAL_ADD_BY_AUTHOR_KEY = "ptAuToal"; // 统计登录账户新增患者总数key
    public static final String PATIENT_DAY_ADD_BY_TENANT_KEY = "ptTeDay"; // 按天统计租户id新增患者数key
    public static final String PATIENT_TOTAL_ADD_BY_TENANT_KEY = "ptTeToal"; // 统计租户id新增患者总数key
    public static final String DOOR_PT_DAY_ADD_BY_AUTHOR_KEY = "ptAuDoorAddDay";// 按天统计登录账户门诊患者数key
    public static final String DOOR_PT_TOTAL_ADD_BY_AUTHOR_KEY = "ptAuDoorAddTotal";// 统计登录账户门诊患者总数key
    public static final String PT_DAY_LOST_BY_AUTHOR_KEY = "ptAuLostDay";// 按天统计登录账户失访患者数key
    public static final String PT_TOTAL_LOST_BY_AUTHOR_KEY = "ptAuLostTotal";// 统计登录账户失访患者总数key
    public static final String PT_TOTAL_WINDOW_BY_AUTHOR_KEY = "ptAuWindowTotal";// 统计登录账户随访期总数量key
    public static final String REDIS_KEY_FOR_QUEUE_OUTPATIENT_TODAY = "queueOutPt";// 队列今日门诊记录

    public static final String CONFIG_BS_STATIC_PARAM_PREFIX_PV = "bs_static_param:paramValue"; // bs_static_param表存储paramValue对应redis-key前缀
    public static final String CONFIG_BS_STATIC_PARAM_PREFIX_PN = "bs_static_param:paramName"; // bs_static_param表存储paramName对应redis-key前缀
    public static final String CONFIG_FU_QUEUE_INFO_PREFIX_QNAME = "fu_queue_info:qname"; // fu_queue_info表存储queueName对应redis-key前缀
    public static final String CONFIG_FU_SCHEME_INFO_PREFIX_SNAME = "fu_scheme_info:sname"; // fu_scheme_info表存储schemeName对应redis-key前缀
    public static final String CONFIG_FU_LOSTREASON_PREFIX_SNAME = "fu_lostreason_dict:rname"; // fu_lostreason_dict表存储reasonName对应redis-key前缀

    // 生长发育标准数据1
    public static final String GROWTH_KEY_LENGTH = "GROWTH:WHO_KEY_LENGTH_";
    public static final String GROWTH_KEY_WEIGHT = "GROWTH:WHO_KEY_WEIGHT_";
    public static final String GROWTH_KEY_HEAD = "GROWTH:WHO_KEY_HEAD_";
    public static final String GROWTH_KEY_WEIGHT_FOR_LENGTH = "GROWTH:WHO_KEY_WEIGHT_FOR_LENGTH_";
    public static final String GROWTH_KEY_BMI = "GROWTH:WHO_KEY_BMI_";

    // AIMS得分百分位曲线 redis
    public static final String AIMS_STANDARD_KEY = "AIMS:STANDARD_";

    // FENTON生长发育数据
    public static final String FENTON_KEY_LENGTH = "FENTON:WHO_KEY_LENGTH_";
    public static final String FENTON_KEY_WEIGHT = "FENTON:WHO_KEY_WEIGHT_";
    public static final String FENTON_KEY_HEAD = "FENTON:WHO_KEY_HEAD_";
    // 相关表名定义
    public static final String TABLE_BS_STATIC_PARAM = "bs_static_param";// 系统静态参数表
    public static final String TABLE_FU_QUEUE_INFO = "fu_queue_info";// 队列信息表
    public static final String TABLE_FU_SCHEME_INFO = "fu_scheme_info";// 方案配置信息表

    // 操作类型定义（对应bs_static_param.type）
    public static final String BUSI_OP_CODE_TYPE = "1000";// 操作编码类型
    public static final String DOCTOR_TITLE_TYPE_CODE = "1001";// 医师职称类型编码
    public static final String EDUCATION_TYPE_CODE = "1002";// 宣教类型编码
    public static final String SCHEDULE_TYPE_CODE = "1003";// 门诊类型编码
    public static final String QUEUE_DOCTOR_ROLE_TYPE_CODE = "1004";// 队列医生角色
    public static final String QUEUE_BUSI_TYPE_CODE = "1005";// 队列医生角色
    public static final String CONTENT_DATA_TYPE = "1006";// 问卷内容中的问题(研究编号)id对应编码类型
    public static final String DOCTOR_TYPE_ODE = "1007";// 问卷内容中的问题(研究编号)id对应编码类型
    public static final String EDUCATION_PUSH_TYPE_CODE = "1008";// 宣教推送类型
    public static final String FU_ASSESS_CONTTEMPL_TYPE = "1009";// 随访评估量表类型
    public static final String PT_BIOLOGY_SAMPLE_TYPE = "1010";// 生物样本采集类型
    public static final String IMG_FILE_TYPE = "1011";// 影像文件类型类型
    public static final String OFFLINE_SYSTEM_MENU_TYPE = "1012";// 离线系统菜单类型
    public static final String OFFLINE_SYSTEM_MENU_CONTTEMPL_TYPE = "1013";// 离线系统菜单对应的问卷模板类型
    public static final String QUEUE_ARCHIVE_TASKCONT_NONVERIFY_TYPE = "1014";// 队列建档任务不校验相关参数（如手机号可空）
    public static final String TODAY_OUTPATIENT_RECORD_ISPAGING_TYPE = "1015";// 今日门诊是否分页（按租户）
    public static final String ASSESSMENT_QUESTION_ID_CHECK_TYPE = "1016";// 问题指标类型
    public static final String HEALTH_RECORD_BUSI_CODE_TYPE = "1017";// 健康档案业务编码
    public static final String USER_INFO_HISNO_DATAELEMENT_TYPE = "1018";// 患者信息科研编码对应的数据元配置
    public static final String ASSESSMENT_TENANTID_TYPE = "1118";// 数据导出类型
    public static final String ASSESSMENT_MABC_TYPE = "1119";// mabc评估问卷大类型
    public static final String ASSESSMENT_FIVE_MABC_TYPE = "1122";// mabc评估问卷五月份大类型
    public static final String ASSESSMENT_SIX_MABC_TYPE = "";// mabc评估问卷五月份大类型 //暂时为空等后续配置
    public static final String ASSESSMENT_MABC_ALL_TYPE = "1120";// mabc评估问卷总描述
    public static final String DOC_VISIT_TYPE = "1020";// 访视预约任务类型
    public static final String DISTREAT_REAMRK_TYPE = "1025";// 血液科专科袋备注
    public static final String DISTREAT_FISH_TYPE = "1026";// 血液科FISH
    public static final String DISTREAT_FUSION_GENE_TYPE = "1027";// 血液科融合基因
    public static final String DISTREAT_GENE_MUTATION_TYPE = "1028";// 血液科基因突变
    public static final String DISTREAT_IMMUNOPHENOTYPING_TYPE = "1029";// 血液科免疫分型

    public static final String CASE_REGIST_TYPE = "1021";// 专案登记任务类型
    public static final String EARLY_CHILDREN_TYPE = "1022";// 新生儿育儿记录1-7天问卷提交
    public static final String NEUR_SYNCH_QUEUE_ONE = "1033";// 早发建档同步队列（包括普通儿、眼保、听力、口腔、心理队列）
    public static final String NEUR_SYNCH_QUEUE_TWO = "1035";// 早发建档同步队列（除普通儿、延保、听力、口腔、心理）
    public static final String NEUR_NORMAL_CHILDREN_QUEUE = "1034";// 早发普通儿队列
    public static final String NEUR_PSYCHOLOGY_QUEUE = "1036";//早发心理队列
    public static final String NEUR_ORAL_CAVITY_QUEUE = "1037";//早发口腔队列
    public static final String NEUR_HEARING_QUEUE = "1038";//早发听力队列
    public static final String NEUR_OPHTHALMIC_INSURANCE_QUEUE = "1039";//早发眼保队列
    public static final String NEUR_OBESITY_QUEUE = "1040";//早发肥胖队列
    public static final String NEUR_IRON_DEFICIENCY_ANEMIA = "1041";//早发缺铁性贫血队列
    public static final String NEUR_RICKETS_QUEUE = "1042";//早发佝偻病队列
    public static final String NEUR_INNUTRITION = "1043";//早发营养不良队列
    public static final String NEUR_SYNCH_QUEUE_ALL = "1044";//早发队列
    public static final String SYS_PRAMR_TYPE = "1046";//系统配置参数类型
    public static final String NEUR_PARENT_CHILD_PARADISE_SCHEME_ID = "1045";//早发亲子乐园班级方案配置
    public static final String BLOOD_QUEUE_ID = "1047";//血液病队列

    // 操作编码定义（对应bs_static_param.op_code）
    public static final String OP_CODE_1000 = "1000";// 患者建档
    public static final String OP_CODE_1001 = "1001";// 医生门诊随访录入

    public static final String OP_OCDE_1103 = "1103";//亲子乐园增加班级队列
    public static final String OP_CODE_1104 = "1104";//亲子乐园修改班级队列
    public static final String OP_CODE_1005 = "1005";// 队列患者暂停
    public static final String OP_CODE_1004 = "1004";// 队列患者转移
    public static final String OP_CODE_1006 = "1006";// 队列患者恢复

    public static final String OP_CODE_1007 = "1007";// 患者上传体温监测数据
    public static final String OP_CODE_1008 = "1008";// h患者上传氧饱脉率监测数据
    public static final String OP_CODE_1011 = "1011";// h患者上传生长发育监测数据
    public static final String OP_CODE_1012 = "1012";// h患者上传SDQ测评
    public static final String OP_CODE_1013 = "1013";// h患者上传MABC测评//
    public static final String OP_CODE_1214 = "1214";// 新增访视记录
    public static final String OP_CODE_1218 = "1218";// 新增专案登记记录

    public static final String OP_CODE_1112 = "1112"; // 智能发育
    public static final String OP_CODE_1113 = "1113"; // 养育环境
    public static final String OP_CODE_1114 = "1114";// 母乳喂养 一妇婴

    public static final String OP_CODE_1009 = "1009";// 患者自助填写主诉信息

    public static final String OP_CODE_3001 = "3001";// 后台更新过期未完成任务
    public static final String OP_CODE_3002 = "3002";// 后台为窗口期患者发送随访提醒短信
    public static final String OP_CODE_3004 = "3004";// 后台为下次随访时间 患者发送随访提醒短信
    public static final String OP_CODE_3005 = "3005";// 异步消息失败记录后台自动重发处理

    public static final String OP_CODE_1016 = "1016";// 患者登陆
    public static final String OP_CODE_1122 = "1122";// 随访指导

    public static final String OP_CODE_1018 = "1018";// 增加临时随访任务

    public static final String OP_CODE_1123 = "1123"; // nbna
    public static final String OP_CODE_1124 = "1124"; // dst
    public static final String OP_CODE_3306 = "1125"; // 发卡登记
    public static final String OP_CODE_1126 = "1126"; // gesell
    public static final String OP_CODE_1127 = "1127"; // neur

    public static final String OP_CODE_1213 = "1213";// mabc提交

    public static final String OP_CODE_2500 = "2500";//血液科药品
    public static final String OP_CODE_2501 = "2501";//血液科疗程
    public static final String OP_CODE_2502 = "2502";//血液科方案
    public static final String OP_CODE_2503 = "2503";//血液科阶段
    public static final String OP_CODE_2504 = "2504";//血液科治疗计划
    public static final String OP_CODE_2505 = "2505";//血液科专科袋
    public static final String OP_CODE_2506 = "2506";//血液科建档

    // bs_static_param dept_id字段 默认为科室ID 如果配置0 则表示系统默认配置数据
    public static final String SYSTEM_CODE_TYPE = "0";// 系统默认配置数据类型

    public static final String EDUCATION_TOP_STATUS = "0";// 置顶状态
    public static final String EDUCATION_NOT_TOP_STATUS = "1";// 非置顶状态

    // 序列号前缀常量定义，用来区分不同的业务
    public static final String SEQ_NO_FOR_SCHEMEID = "10";// 10：方案id前缀
    public static final String SEQ_NO_FOR_SCHEMEVERSIONID = "11";// 11：方案版本id前缀
    public static final String SEQ_NO_FOR_QUEUEID = "12";// 12：队列id前缀
    public static final String SEQ_NO_FOR_TASKID = "13";// 13：任务id前缀
    public static final String SEQ_NO_FOR_USERID = "14";// 14：用户id前缀
    public static final String SEQ_NO_FOR_PTSCHEMEID = "15";// 15：用户队列实例id前缀
    public static final String SEQ_NO_FOR_PTTASKID = "16";// 16：患者任务id前缀
    public static final String SEQ_NO_FOR_PTTASK_CONTID = "17";// 17：患者任务内容id前缀
    public static final String SEQ_NO_FOR_PTTASK_CONTDATAID = "18";// 18：患者任务内容答案id前缀
    public static final String SEQ_NO_FOR_PT_ACCOUNTID = "19";// 19：患者账号id前缀
    public static final String SEQ_NO_FOR_OUTPATIENT_SCHEDULE = "20";// 20：门诊排班id前缀
    public static final String SEQ_NO_FOR_LOST_REASONID = "21";// 21：失访原因id前缀
    public static final String SEQ_NO_FOR_PT_LOST_ID = "22";// 22：失访患者实例id前缀
    public static final String SEQ_NO_FOR_PT_SMS_RD_ID = "23";// 23：短信发送流水表id前缀
    public static final String SEQ_NO_FOR_PT_EXCP_RD_ID = "24";// 24：异常记录表id前缀
    public static final String SEQ_NO_FOR_TASK_CONTID = "25";// 25：模板任务内容id前缀
    public static final String SEQ_NO_FOR_PT_QUEUEEXTEND_ID = "26";// 26：队列实例扩展表id前缀
    public static final String SEQ_NO_FOR_CONTENT_CONFIG_PROJECT_ID = "27";// 27：（基因）项目管理id前缀
    public static final String SEQ_NO_FOR_SYSTEMID = "00";// 00：其他取系统流水的id前缀
    public static final String SEQ_NO_FOR_IMG_NAME_ID = "44";// 44：影像文件名称前缀
    public static final String SEQ_NO_FOR_SHUJUDAOCHU = "28";// 数据导出
    public static final String SEQ_NO_FOR_PT_TENANT_ID = "51";// 51：租户用户id前缀
    public static final String SEQ_NO_FOR_PT_PLAT_ID = "52";// 52：平台用户id前缀
    public static final String SEQ_NO_FOR_USER_CP_PLAN_ID = "53";// 53：患者路径计划id前缀
    public static final String SEQ_NO_FOR_USER_CP_STAGE_ID = "54";// 54：患者路径阶段id前缀
    public static final String SEQ_NO_FOR_USER_CP_NODE_ID = "55";// 55：患者路径节点id前缀
    public static final String SEQ_NO_FOR_USER_CP_TASK_ID = "56";// 56：患者路径任务id前缀
    public static final String SEQ_NO_FOR_USER_CP_TASKCONT_ID = "57";// 57：患者路径任务内容id前缀
    public static final String SEQ_NO_FOR_USER_CP_INNER_MSG_RECORD_ID = "58";// 58：异步消息流水记录id前缀
    public static final String SEQ_NO_FOR_DOCTOR_ID = "59";// ：医生前缀
    public static final String SEQ_NO_FOR_DOCTOR_HOS_ID = "60";// 医院前缀
    public static final String SEQ_NO_FOR_USER_REFERRAL_ID = "61";//患者转诊id前缀
    public static final String SEQ_NO_FOR_EHR_RECORD_ID = "70";// 70:
                                                               // 健康档案记录表id前缀
    public static final String SEQ_NO_FOR_EHR_SCHEDULE_ID = "71";// 71:
                                                                 // 健康档案计划表id前缀
    public static final String SEQ_NO_FOR_SCANSYSTEMID = "90";// 90：用户id前缀
    public static final String SEQ_NO_FOR_CONTENTID = "91";// 91：客户端任务内容前缀
    public static final String SEQ_NO_FOR_SCAN_USERID = "92";// 91：客户端任务内容前缀
    public static final String SEQ_NO_FOR_EVALUATION_ID = "93";// 93：评估序列id前缀
    public static final String SEQ_NO_FOR_EXTENT_ID = "94";// 94：扩展信息表前缀

    public static final String SEQ_NO_FOR_WEIGHT_ID = "95";// 95:患者体重表前缀

    public static final String SEQ_NO_FOR_CATALOG_ID = "96";// 96:小类id
    public static final String SEQ_NO_FOR_GUIDDATA_ID = "97";// 95:模板id
    public static final String SEQ_NO_FOR_LIB_ID = "98";// 98:指导库id
    public static final String SEQ_NO_FOR_BMI_ID = "99";// 99:bmi记录id

    public static final String SEQ_NO_FOR_COURSE_CLASS_ID = "311";// 疗程类型
    public static final String SEQ_NO_FOR_COURSE_ID = "312";// 疗程
    public static final String SEQ_NO_FOR_COURSE_DATA_ID = "313";
    public static final String SEQ_NO_FOR_COURSE_VERSION_ID = "314";
    public static final String SEQ_NO_FOR_COURSE_MEDICINE_ID = "315";

    public static final String SEQ_NO_FOR_DISEASE_LIB_ID = "321";// 疾病库
    public static final String SEQ_NO_FOR_DISEASE_ID = "322";// 疾病
    public static final String SEQ_NO_FOR_DISEASE_CATALOG_ID = "323";

    public static final String SEQ_NO_FOR_MEDICALINST_ID = "331";// 医疗机构

    public static final String SEQ_NO_FOR_MEDICINE_CLASS_ID = "341";// 药品大类
    public static final String SEQ_NO_FOR_MEDCATALOG_ID = "342";// 药品树
    public static final String SEQ_NO_FOR_MEDICINE_ID = "343";// 药品
    public static final String SEQ_NO_FOR_MEDICINE_UNIT_ID = "344";// 药品单位
    public static final String SEQ_NO_FOR_MEDSKU_ID = "345";

    public static final String SEQ_NO_FOR_PT_COURSE_MEDICINE_ID = "351";
    public static final String SEQ_NO_FOR_PT_DIS_COURSE_ID = "352";
    public static final String SEQ_NO_FOR_PT_DIS_PLAN_ID = "353";
    public static final String SEQ_NO_FOR_PT_DIS_STAGE_ID = "354";

    public static final String SEQ_NO_FOR_DIS_STAGE_ID = "361";
    public static final String SEQ_NO_FOR_DIS_STAGE_COURSE_ID = "362";

    public static final String SEQ_NO_FOR_REMARK_ID = "371";// 专科袋备注

    public static final String SEQ_NO_FOR_SCHEME_CLASS_ID = "381";

    public static final String SEQ_NO_FOR_OPERATION_ID = "391";
    public static final String SEQ_NO_FOR_UPDATE_ACCEPT_ID = "392";

    public static final String SEQ_NO_FOR_DICT_ITEM_ID = "401";

    /**
     * pt_ehruser_info 全局用户
     */
    public static final String SEQ_NO_FOR_GOAL_USER = "100";
    /**
     * pt_ehrmpi_info
     */
    public static final String SEQ_NO_FOR_GOAL_MPI = "101";
    /**
     * pt_ehrpix_info
     */
    public static final String SEQ_NO_FOR_GOAL_PIX = "102";
    // 后台程序处理的工号
    public static final String BG_LOGIN_NO_ADMIN = "fuadmin";

    // 服务类型encode
    public static final String PRODUCTITEM_TYPE_ONLINE_CONSULT = "zxzx";//
    public static final String PRODUCTITEM_TYPE_PHONE_CONSULT = "dhzx";//
    public static final String PRODUCTITEM_TYPE_DATA_INTERPRETAION = "sjjd";//

    // 标准孕周天数：40*7=280
    public static final int PATIENT_NORMAL_PREGNANT_DAY = 280;
    // 早产儿孕周天数：<37*7
    public static final int PATIENT_PREMATURE_PREGNANT_DAY = 259;

    // 问卷相关
    public static final String QUESTION_ID_FOR_PHONENO = "Pub1100001";// 手机号码问题id
    public static final String QUESTION_ID_FOR_PATIENTNAME = "Pub1100002";// 患者姓名问题id
    public static final String QUESTION_ID_FOR_GENDER = "Pub1100003";// 性别问题id
    public static final String QUESTION_ID_FOR_BIRTHDAY = "Pub1100004";// 出生日期问题id
    public static final String QUESTION_ID_FOR_EXPECTEDDAY = "Pub1100005";// 预产期问题id
    public static final String QUESTION_ID_FOR_PREGNANCYDAY = "Pub1100006";// 孕周天问题id
    public static final String QUESTION_ID_FOR_IDCARD = "Pub1600007";// 证件号码
    public static final String QUESTION_ID_FOR_PREGNANCT_NO = "Pub12x00007";// (科研编号2)孕产号问题id
    public static final String QUESTION_ID_FOR_INPATIENT_NO = "Pub12x00008";// （科研编号3）住院号问题id
    public static final String QUESTION_ID_FOR_RESEARCH_ID = "341200007";// 科研编号1（如门诊号）
    public static final String QUESTION_ID_FOR_PREGNANCY_FIRST_WEEK = "Pub12x00009";// 初检孕周问题id
    public static final String QUESTION_ID_FOR_OMS_TASKRECORD_NAME = "Pub12x00010";// 门诊（随访）记录（任务）名称
    public static final String QUESTION_ID_FOR_OMS_TASKRECORD_DATE = "Pub12x00011";// 门诊（随访）检查（手术、评估）日期
    public static final String QUESTION_ID_FOR_LAST_MENSTRUATION_DATE = "Pub13x00001";// 末次月经日期问题id
    public static final String QUESTION_ID_FOR_LAST_DELIVERY_DATE = "Pub13x00002";// 分娩日期问题id
    public static final String QUESTION_ID_FOR_TR_TASK_NEXT_CHECK_DATE = "Pub13x00003";// 诊疗下次检查日期id
    public static final String QUESTION_ID_FOR_TR_TASK_NEXT_CHECK_ADDRESS = "Pub13x00004";// 诊疗下次检查地址id
    public static final String QUESTION_ID_FOR_TR_TASK_CHECK_NOTE = "Pub13x00005";// 诊疗检查备注id
    public static final String QUESTION_ID_FOR_TR_TASK_FOLLOW_DATE = "Pub13x00006";// 下次随访时间
    public static final String QUESTION_ID_FOR_TR_TASK_FOLLOW_ADDRESS = "Pub13x00007";// 下次随访地址
    public static final String QUESTION_ID_FOR_TR_TASK_FOLLOW_NOTE = "Pub13x00008";// 随访备注
    public static final String QUESTION_ID_FOR_LEAVEHOSPITAL_NEW_QUEUE_ID = "Pub13x00009";// 选择新的随访队列
    public static final String QUESTION_ID_FOR_LEAVEHOSPITAL_DATE = "Pub13x00010";// 出院日期
    public static final String QUESTION_ID_FOR_FIRST_FOLLOW_DATE = "Pub13x00011";// 首次随访日期
    public static final String QUESTION_ID_FOR_FILE_NO = "jd_dabh";// 首次随访日期

    public static final String QUESTION_ID_FOR_AGE = "Pub1100007";// 年龄
    // public static final String QUESTION_ID_FOR_WEEK = "Pub1100008";// 孕周 具体到天
    public static final String QUESTION_ID_FOR_CHILDBIRTH = "Pub1100009";// 是否分娩
    public static final String QUESTION_ID_FOR_BABY_NUM = "Pub1100010";// 宝宝个数
    // 以下是母亲建档 需要关联宝宝建档时 宝宝建档的固定问题id
    public static final String QUESTION_ID_FOR_BABY_NAME_PRE = "Pub1100011_";// 宝宝姓名
                                                                             // _后面跟0-9的数字
                                                                             // 代表老大
                                                                             // 老二...
    public static final String QUESTION_ID_FOR_BABY_GENDER_PRE = "Pub1100012_";// 宝宝性别
                                                                               // _后面跟0-9的数字
                                                                               // 代表老大
                                                                               // 老二...
    public static final String QUESTION_ID_FOR_BABY_BIRTHDAY_PRE = "Pub1100013_";// 宝宝生日
                                                                                 // _后面跟0-9的数字
                                                                                 // 代表老大
                                                                                 // 老二...
    public static final String QUESTION_ID_FOR_BABY_PREGNANCYDAYPRE = "Pub1100014_";// 宝宝孕周
                                                                                    // _后面跟0-9的数字
                                                                                    // 代表老大
                                                                                    // 老二...
    public static final String QUESTION_ID_FOR_BABY_HISTORY = "Pub1100015_";// 宝宝病史
                                                                            // _后面跟0-9的数字
                                                                            // 代表老大
                                                                            // 老二...
    public static final String QUESTION_ID_BABYLIST = "Pub1100010";// 孕妇建档时候
                                                                   // 宝宝列表单独放

    public static final String QUESTION_ID_FOR_CONTTEMPLTYPE = "tpl110001";// 模板类型问题id
    public static final String QUESTION_ID_FOR_GROWTHDEV_WEIGHT = "bd5ea280282";// 生长发育题型：体重id(kg)
    public static final String QUESTION_ID_FOR_GROWTHDEV_HEIGHT = "bd5eb230284";// 生长发育题型：身长id(cm)
    public static final String QUESTION_ID_FOR_GROWTHDEV_HEADCIRCUM = "bd5ec1d0286";// 生长发育题型：头围id(cm)
    public static final String QUESTION_ID_FOR_PREGNANCYWEEK = "Pub1100110";// 孕周问题id

    public static final String QUESTION_ID_FOR_WEIGHT = "Pub2200001";// 出生体重
    public static final String QUESTION_ID_FOR_DELIVERY = "Pub12x00007";// 分娩住院号
    public static final String QUESTION_ID_FOR_OUTPATIENT = "341200007";// 门诊号
    public static final String QUESTION_ID_FOR_CARD1 = "Pub12x00008";// 社保卡号
    public static final String QUESTION_ID_FOR_CARD2 = "Pub2200008";// 自管卡号
    public static final String QUESTION_ID_FOR_JIUZHENG = "Pub2200002";// 自管卡号

    public static final String BABY_ONE = "1";// 一个宝宝
    public static final String BABY_TWO = "2";// 二个宝宝
    public static final String BABY_THREE = "3";// 三个宝宝

    // 患者基本信息对应问题id
    public static final String[] QUESTION_ID_ARRAY_FOR_PT_USER_INFO = { QUESTION_ID_FOR_PHONENO,
            QUESTION_ID_FOR_PATIENTNAME, QUESTION_ID_FOR_GENDER, QUESTION_ID_FOR_BIRTHDAY, QUESTION_ID_FOR_EXPECTEDDAY,
            QUESTION_ID_FOR_PREGNANCYDAY };

    // BSID2（贝利2）查询建档信息展示
    public static final String QUESTION_ID_FOR_NFYYBIRTHWEIGHT = "nfyybirthweight";// 出生体重
    public static final String QUESTION_ID_FOR_NFYYFEEDWAY = "nfyyfeedway";// 喂养方式
    public static final String QUESTION_ID_FOR_NFYYPARITY = "nfyyParity";// 胎次
    public static final String QUESTION_ID_FOR_NFYYPRODUCTIONTIMES = "nfyyProductiontimes";// 产次

    // 问卷中性别转换
    // 老版随访系统性别
    public static final String GENDER_FOR_MALE = "N";
    // 临床路径新版随访系统纠正，男-->M
    public static final String GENDER_FOR_CP_MALE = "M";
    public static final String GENDER_ALIAS_FOR_MALE = "男";
    public static final String GENDER_FOR_FEMALE = "F";
    public static final String GENDER_ALIAS_FOR_FEMALE = "女";

    // 问卷权限类型
    public static final String QUESTION_TYPE_PRIVATE = "0";// 个人私有问卷模板
    public static final String QUESTION_TYPE_TENANT = "1";// 租户私有问卷模板
    public static final String QUESTION_TYPE_PUBLIC = "2";// 公共问卷模板

    // 问卷业务类型
    public static final String QUESTIONNAIRE_TYPE_0 = "0";// 0：门诊问卷
    public static final String QUESTIONNAIRE_TYPE_1 = "1";// 1：线上问卷
    // public static final String QUESTIONNAIRE_TYPE_2 = "2";// 2：随访提醒
    public static final String QUESTIONNAIRE_TYPE_3 = "3";// 3：用药
    public static final String QUESTIONNAIRE_TYPE_4 = "4";// 4：随访评测
    public static final String QUESTIONNAIRE_TYPE_5 = "5";// 5：随访指导
    public static final String QUESTIONNAIRE_TYPE_6 = "6";// 6：家庭监测
    // public static final String QUESTIONNAIRE_TYPE_7 = "7";// 7：宣教
    public static final String QUESTIONNAIRE_TYPE_8 = "8";// 8：线上主诉登记（体检登记）
    public static final String QUESTIONNAIRE_TYPE_9 = "9";// 9：线上随访

    // 队列id
    public static final String ID_FOR_OFFICE = "1";// 科室
    public static final String ID_FOR_QUEUE = "2";// 队列

    /**
     * 公众账号ID
     */
    public static String appid = "wx32d3aad2bc8fa216";
    // public static String appid = "wx83144d9f4abbb45d";//测试

    /**
     *
     */
    public static String appsecret = "7d163fcdcf9fac22e77ec0795e8c9a86";
    // public static String appsecret = "0a334028fec3c14b3d1f95e613a555c8";//测试

    // 权限系统中的租户类型：1、科室，2、医院，3、多中心，4、医联体
    public static final int TENANT_GROUP_TYPE_FOR_DEPT = 1;
    public static final int TENANT_GROUP_TYPE_FOR_HOSPITAL = 2;
    public static final int TENANT_GROUP_TYPE_FOR_MULCENTER = 3;
    public static final int TENANT_GROUP_TYPE_FOR_UNION = 4;

    // 生长发育问题moduleId
    public static final String QUESTION_MODULE_ID_GROWTH = "40288abe5167faf201516801bc780000";
    public static final String WHO_STANDARD_ID = "00003"; // WHO 2013数据
    public static final String WHO_STANDARD_NAME = "WHO儿童生长发育标准(2013)"; // WHO
                                                                        // 2013数据

    public static final String WHO_STANDARD_ID_FIVEYEAR = "W2007"; // WHO 2017数据
    public static final String WHO_STANDARD_FIVEYEAR_NAME = "WHO儿童和青少年生长发育标准(2007)"; // WHO
                                                                                     // 2017数据
    public static final String FENTON_STANDARD_NAME = "FENTON曲线数据"; // WHO
                                                                    // 2017数据

    public static final String WHO_STANDARD_TYPE_SCORE = "00003"; // 生长发育得分
    public static final String WHO_STANDARD_TYPE_PERCENT = "00002"; // 生长发育百分位

    public static final String FENTON_STANDARD_TYPE_SCORE = "F0003"; // FENTON得分
    public static final String FENTON_STANDARD_TYPE_PERCENT = "F0002"; // FENTON百分位

    public static final String NUMBER_TYPE_FIVE_CURVES = "5";// 返回5条曲线
    public static final String NUMBER_TYPE_SEVEN_CURVES = "7";// 返回7条曲线
    public static final String NUMBER_TYPE_NINE_CURVES = "9";// 返回9条曲线

    public static final String DEVELOPPROJECT_HEAD = "00003"; // 头围
    public static final String DEVELOPPROJECT_LENGTH = "00002"; // 身高
    public static final String DEVELOPPROJECT_WEIGHT = "00001"; // 体重
    public static final String DEVELOPPROJECT_LENGTHFORWEIGHT = "00004"; // 身长别体重
    public static final String DEVELOPPROJECT_AGEFORWH = "00005";// MBI

    public static final String GROWTH_GUIDE_LENGTH = "LENGTH_";
    public static final String GROWTH_GUIDE_WEIGHT = "WEIGHT_";

    // ALberta百分位曲线
    public static final String AIMS_STANDARD_TYPE_PERCENT = "00001"; // AIMS百分位
    public static final String AIMS_DEVELOPPROJECT_SCORE = "00001"; // AIMS得分
    public static final String AIMS_STANDARD_ID = "00001"; // 默认 年份数据

    // 科室排班类型：1按周排班，2按月排班，3按具体日期排班
    public static final String DEPT_OUTPATIENT_SCHEDULE_WEEKLY = "1";
    public static final String DEPT_OUTPATIENT_SCHEDULE_MONTHLY = "2";
    public static final String DEPT_OUTPATIENT_SCHEDULE_DATE = "3";

    public static final String[] timeOfDay = { "", "上午", "下午", "晚上" };// 按一天上下午及晚上排班，则用1，2，3分别表示上午、下午和晚上
    public static final String[] dayOfWeek = { "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" };// 按周排班，则用0-6表示周日到周六

    public static final String PATIENTTYPE_BABY = "B";// 宝宝建档
    public static final String PATIENTTYPE_WOMEN = "C";// 产妇建档
    public static final String PATIENTTYPE_OTHER = "Q";// 其他建档

    // 队列表(fu_queue_info)中的患者类型
    public static final String QUEUE_USER_TYPE_BABY = "0"; // 宝宝
    public static final String QUEUE_USER_TYPE_PARTURIENT = "1";// 产妇
    public static final String QUEUE_USER_TYPE_OTHER = "2";// 其他患者

    // 患者表(pt_user_info)中的患者类型
    public static final String PTUSER_PATIENT_USER_TYPE_BABY = "1"; // 宝宝
    public static final String PTUSER_PATIENT_USER_TYPE_PARTURIENT = "2";// 孕产妇
    public static final String PTUSER_PATIENT_USER_TYPE_OTHER = "3";// 其他患者

    // 患者表(pt_user_info)中的患者状态 分中心转诊使用
    public static final String PTUSER_PATIENT_USER_STATUS_WAIT_INITIATE_REFERRAL = "1"; // 等待发起转诊
    public static final String PTUSER_PATIENT_USER_STATUS_WAIT_ACCEPTS = "2";// 等待接诊
    public static final String PTUSER_PATIENT_USER_STATUS_ALREADY_REFERRAL = "3";// 已转诊
    public static final String PTUSER_PATIENT_USER_STATUS_ALREADY_TURNBACK = "4";// 已转回
    public static final String PTUSER_PATIENT_USER_STATUS_REFUSED = "5";// 已拒绝

    public static final String PARTURIENT_CHILDBIRTH_YES = "1"; // 已分娩
    public static final String PARTURIENT_CHILDBIRTH_NO = "2"; // 未分娩

    public static final String DEPARTMENT_DEFAULT_QUEUE_STATUS = "1"; // 科室默认队列

    public static final String SMS_TEMPLATE_REGISTER_TYPE = "ZCDX";
    public static final String SMS_TEMPLATE_HMSQDX_TYPE = "HMSQDX";// 华米授权提醒短信

    public static final String EDUCATION_STATUS_STOP = "2";
    public static final String EDUCATION_STATUS_ENABLE = "1";

    // 随访提醒方式： 1:app提醒 2:短信提醒 3:邮件提醒 4:微信提醒
    public static final String FU_INFORM_RULE_TYPE_APP = "1";
    public static final String FU_INFORM_RULE_TYPE_SMS = "2";
    public static final String FU_INFORM_RULE_TYPE_MAIL = "3";
    public static final String FU_INFORM_RULE_TYPE_WECHAT = "4";

    // 随访提醒规则短信最大发送次数
    public static final int FU_INFORM_RULE_SMS_SEND_TIME_INFINITE = -1;// -1表示一个任务发送的提醒短信次数不限制
    public static final String FU_INFORM_RULE_SMS_SEND_RULE_TYPE_WIN = "0";// 按窗口期任务发送
                                                                           // 下次随访提醒
    public static final String FU_INFORM_RULE_SMS_SEND_RULE_TYPE_AGE = "1";// 按年龄阶段发送
    public static final String FU_INFORM_RULE_SMS_SEND_RULE_TYPE_FOLLOWUP = "2";// 按随访时间发送
    public static final String FU_INFORM_RULE_SMS_SEND_RULE_TYPE_NEXTFOLLOW_DATE = "3";// 按下次随访时间发送
    public static final String FU_INFORM_RULE_SEND_RULE_TYPE_STATUS_COMPLETE = "4";// 任务完成时
                                                                                   // 发送提醒
    public static final String FU_INFORM_RULE_SEND_RULE_TYPE_STATUS_WIN_FIRST = "5";// 窗口期开始日期前
                                                                                    // 多少天提醒
    public static final String FU_INFORM_RULE_SEND_RULE_TYPE_STATUS_WIN = "6";// 窗口期开始后每个多久提醒一次

    public static final String FU_INFORM_RULE_SMS_SEND_RULE_TYPE_DOCTOR = "9";// 手动提醒短信
    public static final String FU_INFORM_RULE_SMS_TG_SEND_RULE_TYPE_DOCTOR = "10";// 国妇婴诊疗指导短信

    // 随访提醒时间间隔
    public static final int ONE_DAY_HOUR = 24;// 1天==24小时
    public static final int ONE_HOUR_MINUTE = 60;// 1小时==60分钟
    public static final float FU_INFORM_TIME_INTERVAL_HALF_HOUR = 30;// 半小时，30分钟
    public static final float FU_INFORM_TIME_INTERVAL_ONE_HOUR = 60;// 1小时，60分钟
    public static final int YEAR_MONTH = 12; // 月

    // 通用表模型记录是否有效标志位
    public static final String TABLE_RECORD_STATUS_NOMAL = "1";
    public static final String TABLE_RECORD_STATUS_INVALID = "0";

    // 短信模板中随访时间和随访地址变量
    public static final String PT_SMS_VAR_FOLLOW_TIME = "\\$\\{followTime\\}";
    public static final String PT_SMS_VAR_FOLLOW_ADDRESS = "\\$\\{followAddress\\}";

    // 随访提醒发送状态
    public static final String PT_INFORM_SMS_STATUS_SUCCESS = "1";// 1 成功
    public static final String PT_INFORM_SMS_STATUS_FAILED = "2";// 2 失败

    // 外部接口服务类型
    public static final String SERVICE_TYPE_INFORM = "1";// 消息中间件
    public static final String SERVICE_TYPE_HSF = "2";// HSF类型服务
    public static final String SERVICE_TYPE_ESB = "3";// ESB/CSB类服务
    public static final String SERVICE_TYPE_APP = "4";// APP类服务
    public static final String SERVICE_TYPE_ESBWSDL = "5";// ESB类服务

    // 外部接口服务名
    public static final String SERVICE_NAME_FOR_SMSSEND = "sendSms";// 短信接口服务名
    public static final String SERVICE_NAME_FOR_SERVICE = "callEsbService";// 调用esb服务名

    // 失访原因类型
    public static final String LOST_REASON_TYPE_PRIVATE = "0";// 个人私有
    public static final String LOST_REASON_TYPE_TENANT = "1";// 租户私有
    public static final String LOST_REASON_TYPE_PUBLIC = "2";// 公共

    // 默认分页配置
    public static final int APP_PAGE_FOR_INIT = 1;// 默认查询第1页
    public static final int APP_ROWS_FOR_INIT = 20;// 默认查询前20条

    // 操作类型
    public static final String HANDLE_TYPE_CHANGE = "0";// 修改
    public static final String HANDLE_TYPE_ADD = "1";// 新增
    public static final String HANDLE_TYPE_DELETE = "2";// 删除
    public static final String HANDLE_TYPE_MODIFY = "3";// 标记修改

    // 宣教推送规则
    public static final String EDUCATION_PUSH_TYPE_GLOBAL = "01";
    public static final String EDUCATION_PUSH_TYPE_CORRECT_AGE = "02";
    public static final String EDUCATION_PUSH_TYPE_AGE = "03";
    public static final String EDUCATION_PUSH_TYPE_RAND = "04";
    public static final String EDUCATION_PUSH_TYPE_REGISTER = "05";

    // 字符串匹配
    public static final String STRING_USERPASSWORD_GFY = "USERPASSWORD";// 用户密码
    public static final String STRING_CREATETIMEINFO_GFY = "CREATETIMEINFO";// 时间
    public static final String STRING_SIGNINPUT_GFY = "SIGNINPUT";// 签名
    public static final String STRING_CHARACTER_GFY = "SERVICELOGIC";// 签名
    public static final String STRING_SERVICECODE_GFY = "SERVICECODEINFO";// 签名
    public static final String STRING_APPCODEINFO_GFY = "APPCODEINFO";// 签名

    // 调用远程接口code --卡查询接口和主诉登记接口、校验接口
    public static final String STRING_SERVICECODE_A09U001O = "A09U001O";// 国妇婴项目校验用户接口
    public static final String STRING_SERVICECODE_A09U002O = "A09U002O";// 用户新增接口
    public static final String STRING_SERVICECODE_A09U003O = "A09U003O";// 卡信息查询接口
    // 调用远程接口code --国妇婴预约通用接口
    public static final String STRING_SERVICECODE_A02Y002O = "A02Y002O";// 获取预约资源模板
    public static final String STRING_SERVICECODE_A02Y003O = "A02Y003O";// 提交预约
    public static final String STRING_SERVICECODE_A02Y004O = "A02Y004O";// 取消预约
    public static final String STRING_SERVICECODE_A02Y007O = "A02Y007O";// 获取预约科室列表
    public static final String STRING_SERVICECODE_A02Y008O = "A02Y008O";// 获取预约专家信息
    public static final String STRING_SERVICECODE_A09U004O = "A09U004O";// 获取儿保门诊推送事项患者清单
    public static final String STRING_SERVICECODE_A09U005O = "A09U005O";// 获取儿保门诊指导意见列表
    public static final String STRING_SERVICECODE_A09U006O = "A09U006O";// 获取儿保门诊指导意见详情

    // 国妇婴产后检查患者信息校验及婴儿信息绑定，包含查询，绑定，解绑功能
    public static final String STRING_SERVICECODE_A09U007O = "A09U007O";// 产后检查患者信息校验及婴儿信息绑定
    public static final String STRING_SERVICECODE_A09U008O = "A09U008O";// 国妇婴校验抑郁症/焦虑症筛查量表答卷状态
    public static final String STRING_SERVICECODE_A09U009O = "A09U009O";// 保存抑郁症/焦虑症筛查量表答卷
    // 国妇婴量表类型
    public static final String CONTTEMPL_GAD7 = "gad7";// 焦虑症筛查类型
    public static final String CONTTEMPL_PHQ9 = "phq9";// 抑郁症筛查类型

    public static final String SERVICE_NAME_FOR_EXTEND = "alternateNo";// 备用手机号

    //
    public static final String STRING_0035EBSYUE_KEY = "0.WS.0035EBSYUE";// 预约接口
    public static final String STRING_0034ERBSFD_KEY = "0.WS.0034ERBSFD";// 查卡接口

    // md5加密
    public static final int INTEGER_FORMD5_16 = 16;// 16位加密
    public static final int INTEGER_FORMD5_32 = 32;// 32位加密

    // hash code加密
    public static final String STRING_FORHASHCODE_256 = "SHA-256";
    public static final String STRING_FORHASHCODE_512 = "SHA-512";

    // 用户密码
    public static final String STRING_USERPASSWORD_INFO = "9LkvY&jBt.5";// 用户密码
    public static final String STRING_USERPASSWORD_ORDERINFO = "FHc9A%stR*7";// 用户密码

    // 异常类型：0系统异常，1应用异常
    public static final String PT_EXCP_TYPE_SYSTEM = "0";
    public static final String PT_EXCP_TYPE_APP = "1";

    // 分区表前缀
    public static final String TABLE_PARTITION_PRE = "p";

    // 字符串长度
    public static final int STRING_LEN_512 = 512;

    // 基本用户信息默认租户id=0
    public static final String PT_USER_INFO_DEFAULT_TENANT_ID = "0";

    // 随访评测类型
    // 小儿神经
    public static final String FOLLOW_EVALUATION_NEUR = "Neuropsychology";
    // 贝利筛选
    public static final String FOLLOW_EVALUATION_BAILEY = "BaileyScreening";
    // gesell
    public static final String FOLLOW_EVALUATION_GESELL = "Gesell";
    // 指导意见
    public static final String FOLLOW_EVALUATION_GESELL_GUIDE = "GESELL_GUIDE";
    // neur指导意见
    public static final String FOLLOW_EVALUATION_NEUR_GUIDE = "NEUR_GUIDE";
    // 气质题目
    public static final String FOLLOW_EVALUATION_TEMP = "Temperament";
    // 韦氏智力
    public static final String FOLLOW_EVALUATION_WECHSLER = "Wechsler";
    public static final String FOLLOW_EVALUATION_SMALlWECHSLER = "SmallWechsler";
    public static final String FOLLOW_EVALUATION_BIGWECHSLER = "BigWechsler";
    // NBNA
    public static final String FOLLOW_EVALUATION_NBNA = "nbna";

    // 孕产妇评估问卷
    public static final String FOLLOW_EVALUATION_PREGNANT_KEY = "PREGNANT_POSITION";// redis
                                                                                    // key

    public static final String FOLLOW_EVALUATION_HIGH_PREGNANT = "HighriskPregnant";// redis
                                                                                    // filed
    // 抑郁自评表
    public static final String FOLLOW_EVALUATION_PREGNANT_SDS = "SDS";// redis
                                                                      // filed
    // 焦虑自评表
    public static final String FOLLOW_EVALUATION_PREGNANT_SAS = "SAS";// redis
                                                                      // filed
    // 抑郁自评表2,版本2
    public static final String FOLLOW_EVALUATION_PREGNANT_SDS2 = "SDS2";// redis
                                                                        // filed
    // 焦虑自评表2,版本2
    public static final String FOLLOW_EVALUATION_PREGNANT_SAS2 = "SAS2";// redis

    // 焦虑、抑郁评分
    public static final String FOLLOW_EVALUATION_PREGNANT_PHQGAD = "PHQGAD";// redis
    // filed
    // 爱丁堡产后抑郁
    public static final String FOLLOW_EVALUATION_PREGNANT_EPDS = "EPDS";// redis
                                                                        // filed
    // ALberta
    public static final String FOLLOW_EVALUATION_PREGNANT_AIMS = "AIMS";// redis

    // SDQ问卷
    public static final String FOLLOW_EVALUATION_PREGNANT_SDQ = "SDQ";// redis

    // 贝利3
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID = "BSID";// redis
    // GMS
    public static final String FOLLOW_EVALUATION_PREGNANT_GMS = "GMS";// redis
    // 接受性交流
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_RC = "BSID_RC";// redis
    // 表达性交流
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_EC = "BSID_EC";// redis
    // 精细运动
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_FM = "BSID_FM";// redis
    // 大运动
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_GM = "BSID_GM";// redis
    // 认知
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_COG = "BSID_COG";// redis
    // 发育商和发育龄
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_MIX = "BSID_MIX";// redis
    // 指导意见
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID_GUIDE = "BSID_GUIDE";// redis
    // 答案
    public static final String FOLLOW_EVALUATION_PREGNANT_BSIDANSWER = "BSID_ANSWER";// redis

    // 生活事件量表
    public static final String FOLLOW_EVALUATION_PREGNANT_LES = "LES";// redis
    // 职业紧张压力指数问卷
    public static final String FOLLOW_EVALUATION_PREGNANT_OSI = "OSI";// redis
    // 一般生活事件
    public static final String FOLLOW_EVALUATION_PREGNANT_GLE = "GLE";// redis
    // 医生端补充填写
    public static final String FOLLOW_EVALUATION_PREGNANT_DGLE = "DGLE";// redis
    // 贝利2
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2 = "BSID2";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2ANSWER = "BSID2_ANSWER";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2_PR = "BSID_PR";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2_MR = "BSID_MR";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_BSID2_ACTIVITY = "BSID_ACTIVITY";// redis

    // 评分标准
    public static final String FOLLOW_EVALUATION_BSID2_ANSWER_PR = "BSID_PR_ANSWER";// redis
                                                                                    // 运动
    public static final String FOLLOW_EVALUATION_BSID2_ANSWER_MR = "BSID_MR_ANSWER";// redis
                                                                                    // 智力
    // 发育登记
    public static final String FOLLOW_EVALUATION_BSID2_ANSWER_LEVEL = "BSID_LEVEL";// redis
    // 百分位
    public static final String FOLLOW_EVALUATION_BSID2_ANSWER_PERCENT = "BSID_PERCENT";// redis

    // PEABODY问卷
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY = "PEABODY";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_1 = "PEABODY_1";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_2 = "PEABODY_2";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_3 = "PEABODY_3";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_4 = "PEABODY_4";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_5 = "PEABODY_5";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_PEABODY_6 = "PEABODY_6";// redis

    // 评分标准
    public static final String FOLLOW_EVALUATION_PEABODY_ANSWER_ALL = "PEABODY_ANSWER_";// redis
    // 相当年龄
    public static final String FOLLOW_EVALUATION_PEABODY_ANSWER_AGE = "PEABODY_ANSWER_AGE";// redis
    // 商计算
    public static final String FOLLOW_EVALUATION_PEABODY_ANSWER_DISCUSS = "PEABODY_ANSWER_DISCUSS";// redis

    // 养育环境
    public static final String FOLLOW_EVALUATION_PREGNANT_AHEMD = "AHEMD-IS";// redis
    // 只能发育
    public static final String FOLLOW_EVALUATION_PREGNANT_ASQ = "ASQ";// redis
    public static final String FOLLOW_EVALUATION_PREGNANT_GROWTH = "SZFY";// redis

    public static final String FOLLOW_EVALUATION_PREGNANT_FHRIS = "FHRIS";// redis

    // 生长发育评估标识
    public static final String FOLLOW_EVALUATION_GROWTH = "GROWTH";// redis

    public static final String SOURCE_TYPE_FOLLOW = "04";// 评估
    public static final String SOURCE_TYPE_APP = "01";//
    public static final String SOURCE_TYPE_WECHAT = "03"; // 微信评估
    public static final String SOURCE_TYPE_FOLLOW_TEST = "02";

    // public static final String SOURCE_TYPE_LH_WECHAT = "05";

    // 国妇婴 平台代码
    public static final String SOURCE_TPLATFORM_CODE = "19";// 儿保app
    public static final String SOURCE_HOSPTAL_CODE = "19";// 儿保app
    public static final String SOURCE_ACCESS_CODE = "FGUh%bce29Okz5d74*aT";// 儿保app
    public static final String SOURCE_ACCESS_PUCHCODE = "zdyj";// 儿保app指导意见

    // 安医大项目特殊标记
    public static final String HOSPITAL_FOR_AYD_NAME = "ayd";
    public static final String QRY_BASIC_USER_INFO_TYPE = "0001";// 查询患者基本信息
    public static final String PT_BIO_SAMPLE_PARAM_CODE_AYD = "bioSample";// 安医大样本采集类型
    public static final String TENANT_ID_FOR_AYD_MAS = "ayd001";// 安医大租户id

    // 国妇婴主诉登记
    public static final String GFY_ZHUSU_BIND = "bind";// 绑卡标识
    public static final String GFY_ZHUSU_NO = "no";// 查询标示
    public static final String GFY_ZHUSU_UNBIND = "unbind";// 解绑标示

    // 卡类型
    public static final String GFY_ZHUSU_CARDNAME = "就诊卡";// 解绑标示

    // 通用扫码建档队列
    public static final String GFY_ZHUSU_QUEUEWOMEN = "12SMJD000000001";// 产妇队列
    public static final String GFY_ZHUSU_QUEUEBABY = "12SMJD000000002";// 宝宝队列

    public static final String GROWTH_SCORE_ZSCORE = "02";// 查询z曲线
    public static final String GROWTH_SCORE_PERCENT = "01";// 查询百分位曲线

    public static final String GROWTH_AGE_TYPE_CORRECT = "01";// 纠正年龄
    public static final String GROWTH_AGE_TYPE_ACTUAL = "02";// 实际年龄

    public static final String FENTON_CURVEDATA_LINES = "02";// fenton曲线
    public static final String GROWTH_CURVEDATA_LINES = "01";// growth who曲线

    public static final String STRING_UPDATE_STAYUS = "01";// 更新任务状态
    public static final String STRING_UPDATE_EXECUTE = "02";// 更新任务时间

    public static final String COMMON_STATUS_NOMAL = "1";// 公用状态正常
    public static final String COMMON_STATUS_DELETE = "0";// 公用状态失效
    public static final String COMMON_STATUS_DRAFT = "5";// 公用草稿状态

    public static final String COMMON_STATUS_SUSPEND = "3";// 暂停
    public static final String COMMON_STATUS_STOP = "4"; // 终止
    public static final String COMMON_STATUS_ENABLE = "2"; // 阶段 、疗程启用

    public static final String SMS_STATUS_SEND_READY = "0";// 待发送
    public static final String SMS_STATUS_SEND_SUCCESS = "1";//发送成功
    public static final String SMS_STATUS_SEND_FAIL = "2";//发送失败
    public static final String SMS_STATUS_SENDING = "5";//发送中

    // 默认疗程天数
    public static final int COURSE_DEFAULT_DAYS = 7;
    // 修改饮食情况接口
    public static final String NUTRIENTS_SITUATION_DOCTOR_DEFAULT = "1"; // 医生安排饮食量
                                                                         // 修改
    public static final String NUTRIENTS_SITUATION_DOCTOR_SIGN = "2"; // 医生帮用户登记
                                                                      // 实际使用量
    public static final String NUTRIENTS_SITUATION_USER_APPLY = "3"; // 用户登记
                                                                     // 实际使用量

    // 营养方案key 保存最新版本
    public static final String NUTRITION_SCHEME_KEY = "NUTRITION:SCHEME:";
    // 营养方案版本 key
    public static final String NUTRITION_SCHEME_VERSION_KEY = "NUTRITION:SCHEME_VERSION:";
    // 营养阶段 key
    public static final String NUTRITION_STAGE_KEY = "NUTRITION:STAGE:";
    // 营养疗程key
    public static final String NUTRITION_COURSE_KEY = "NUTRITION:COURSE:";
    // 营养疗程版本KEY
    public static final String NUTRITION_COURSE_VERSION_KEY = "NUTRITION:COURSE_VERSION:";
    // 亲社会行为
    public static final String SDQ_FACTOR_TYPE_PROSOCIAL = "Prosocial";
    // 多动
    public static final String SDQ_FACTOR_TYPE_MBD = "MBD";
    // 情绪症状
    public static final String SDQ_FACTOR_TYPE_EMOTIONAL = "Emotional";
    // 品行问题
    public static final String SDQ_FACTOR_TYPE_CONDUCT = "Conduct";
    // 同伴交往
    public static final String SDQ_FACTOR_TYPE_COMPANION = "Companion";
    // 困难影响因子
    public static final String SDQ_FACTOR_TYPE_DIFFICULT = "Difficult";
    // 问卷题型
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_RADIO = "Radio";// 单选
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_TEXT = "Text";// 文本
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_CHECKBOX = "checkbox";// 文本
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_RadioAndText = "RadioAndText";
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_checkboxAndRadio = "checkboxAndRadio";//
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_checkboxAndText = "checkboxAndText";//
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_listAndText = "listAndText";//
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_mutilListText = "mutilListText";//
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_unFixmultilText = "unFixmultiText";//
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_RadioAndRadio = "RadioAndRadio";//
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_listText = "listText";//
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_mutilListRadio = "mutilListRadio";//
    public static final String EVALUATION_QUESTION_ANSWER_OPTION_timeText = "timeText";//

    // 活动空间
    public static final String AHEMD_TYPE_ACTIVITY_SPACE = "ActivitySpace";
    // 活动多样性
    public static final String AHEMD_TYPE_ACTIVITY_DIVERSITY = "ActivityDiversity";
    // 粗大运动玩具
    public static final String AHEMD_TYPE_HEAVY_SPORT_TOYS = "HeavySportsToys";
    // 精细运动玩具
    public static final String AHEMD_TYPE_FINE_SPORT_TOYS = "FineSportsToys";

    public static final String AHEMD_TYPE_TOTAL = "Total";
    // 沟通
    public static final String ASQ_TYPE_COMMUNICATE = "Communicate";
    // 粗大动作
    public static final String ASQ_TYPE_BIG_ACTION = "BigAction";
    // 精细动作
    public static final String ASQ_TYPE_FINE_ACTION = "FineAction";
    // 解决问题
    public static final String ASQ_TYPE_SOLVE_PROBLEM = "SolveProblem";
    // 个人社会
    public static final String ASQ_TYPE_PERSON_SOCIAL = "PersonSocial";

    public static final String ASQ_TYPE_TOTAL = "Total";

    public static final String QUEUE_PATIENT_REGISTER_NOT_SEND_SMS = "1";// 队列下用户注册
                                                                         // 不发送短信标识

    public static final String PATIENT_SOURSE_TYPE_LEHUI = "lovely";// 乐慧渠道

    public static final String COMMON_TYPE_PRIVATE = "0";// 个人私有队列
    public static final String COMMON_TYPE_TENANT = "1";// 租户私有队列
    public static final String COMMON_TYPE_PUBLIC = "2";// 公共队列

    // 乐慧token 缓存key
    public static final String ACCESS_TOKEN_LEHUI = "ACCESS_TOKEN_LEHUI";
    // token 设置 一小时过期 单位秒
    public static final int ACCESS_TOKEN_EXPIRE_TIME = 7000;
    public static final int JSAPI_TICKET_EXPIRE_TIME = 7000;

    public static final String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=";
    public static final String GET_USER_URL = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=";
    public static final String GET_OPENID_CODE = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=";
    public static final String GROUP_MEMBER_UPDATE = "https://api.weixin.qq.com/cgi-bin/groups/members/update?access_token=";
    public static final String MESSAGE_CUSTOM_SEND = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=";

    public static final String GET_WECHAT_TEMPLATE = "https://api.weixin.qq.com/cgi-bin/template/get_all_private_template?access_token=ACCESS_TOKEN";
    public static final String NOTIFY_MESSAGE_URL = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=ACCESS_TOKEN";
    public static final String MESSAGE_CUSTOM_SEND_NEW = "https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=ACCESS_TOKEN";
    public static final String QRCODE_CREATE_URL = "https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=ACCESS_TOKEN";
    public static final String QRCODE_GET_URL = "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=";
    public static final String JSAPI_TICKET_URL = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token=ACCESS_TOKEN&type=jsapi";

    public static final String DEVICE_TYPE_BLOOD = "1"; // 血糖仪
    public static final String DEVICE_TYPE_SPORT = "2"; // 手环 手环

    public static final String EVLATATION_WORKORDER_STATUS_INIT = "01";// 初始状态
    public static final String EVLATATION_WORKORDER_STATUS_DO = "02";// 评估提交
    public static final String EVLATATION_WORKORDER_STATUS_SENDTODOCTOR = "03";// 待医生确认
    public static final String EVLATATION_WORKORDER_STATUS_DOCTORCONFIRM = "04";// 医生确认
    public static final String EVLATATION_WORKORDER_STATUS_SENDUSER = "05";// 发送用户
    public static final String EVLATATION_WORKORDER_STATUS_COMPLETE = "06";// 完成

    public static final String EVLATATION_QUEUE_ID_1 = "12WXPG0000000001";// 完成
    public static final String EVLATATION_QUEUE_ID_2 = "12WXPG0000000002";// 完成

    // utf-8
    public final static String UTF8 = "UTF-8";
    // GBK
    public final static String GBK = "GBK";
    // ISO
    public final static String ISO = "ISO-8859-1";
    // 微信令牌
    public static final String TOKEN = "weixin";

    // 入参校通用错误信息
    public static final String API_INPUT_PARAMS_FORMAT_ERROR = "入参格式校验失败";
    public static final String API_INPUT_PARAMS_DATA_ERROR = "入参信息校验失败";

    // 建档无手机号时，app登录默认密码
    public static final String PATIENT_APP_LOGIN_DEFAULT_PASSCODE = "123456";

    // 建立医生账号 默认密码
    public static final String WEB_LOGIN_DEFAULT_PASSCODE = "123456";

    // 华米运动 步数
    public static final String HUAMI_TYPE_ACTIVITIES = "1";
    // 华米运动 睡眠
    public static final String HUAMI_TYPE_SLEEP = "2";

    // (基因)项目管理类型
    public static final String CONTENT_CONFIG_TYPE_FOR_GENE_PROJECT = "Gene1001";

    // 页面显示或隐藏
    public static final String CONTENT_CONFIG_SHOW_FLAG_00 = "00";// 00隐藏
    public static final String CONTENT_CONFIG_SHOW_FLAG_01 = "01";// 01显示

    // 扫码端和医生端数据同步类型定义
    public static final String CONSUMER_TYPE_QUESTION_CONTENT_SERVER = "21"; // 主诉问卷同步
    public static final String CONSUMER_TYPE_REGISTER_SERVER = "22"; // 扫码建档同步
    public static final String CONSUMER_TYPE_QUESTION_CONTENT_MODIFY = "23";// 问卷修改
    public static final String CONSUMER_TYPE_REGISTER_SERVER_MODIFY = "24"; // 建档修改

    public static final String CONSUMER_TYPE_FOLLOWUP_GUIDE_TO_SCAN = "26"; // 随访指导同步

    // 评估记录结果往 诊间扫码同步
    public static final String CONSUMER_TYPE_EVALUATION_TO_SCAN = "25"; // 评估数据往扫码端同步
                                                                        // 日志，供查询使用

    public static final String PATIENT_DATA_RULE_TYPE_POST = "POST";// 新建
    public static final String PATIENT_DATA_RULE_TYPE_PUT = "PUT";// 全部更新或新建
    public static final String PATIENT_DATA_RULE_TYPE_PATCH = "PATCH";// 指定字段更新
    public static final String PATIENT_DATA_RULE_TYPE_GET = "GET";// 查询
    public static final String PATIENT_DATA_RULE_TYPE_DELETE = "DELETE";// 删除
    public static final String PATIENT_DATA_RULE_TYPE_PUSH = "PUSH";// 推送

    // 登录session-key
    public static final String SESSION_ACCOUNT_KEY = "oms_account";
    // 账号登录session过期时间，单位秒
    public static final int ACCOUNT_LOGIN_SESSION_TIMEOUT = 3600;
    // 文件访问过期时间
    public static final int FILE_ACCESS_AUTHORITY_TIMEOUT = 3600;
    // 文件存放地址前缀
    public static final String IMG_FILE_HTTP_HEAD = "http://";
    // 签名文件上传基础路径配置的变量id
    public static final String FILE_UPLOAD_FOR_IMG_BASIC_PATH_ID_NAME = "imgFilePath";

    // 体检登记，血压指标类型
    public static final String PHYSICAL_TYPE_FOR_BLOOD_DIASTOLIC = "Diastolic";// 舒张压
    public static final String PHYSICAL_TYPE_FOR_BLOOD_SYSTOLIC = "Systolic";// 收缩压
    // 体检登记，指标阈值
    public static final int PHYSICAL_TYPE_FOR_WAISTSKINTHICK_THRESHOLD = 8;// 腰(腹)部皮褶厚度0-6岁至少>=8mm
    public static final double PHYSICAL_TYPE_FOR_UPARMLEN_THRESHOLD = 12.5;// 上臂围：1-5岁>=12.5cm
                                                                           // 营养中等
    public static final double PHYSICAL_TYPE_FOR_UPARMLEN_FINE = 13.5;// 上臂围：1-5岁>=13.5cm
                                                                      // 营养良好
    public static final int PHYSICAL_TYPE_FOR_BODYFATPER_THRESHOLD_03 = 18;// 体脂百分比：0-3岁18%
    public static final int PHYSICAL_TYPE_FOR_BODYFATPER_THRESHOLD_34 = 17;// 体脂百分比：3-4岁17%
    public static final int PHYSICAL_TYPE_FOR_BODYFATPER_THRESHOLD_48 = 16;// 体脂百分比：4-8岁16%
    // 体检登记，指标系数
    public static final double PHYSICAL_TYPE_FOR_M_WAIST_MULTI_INDEX = 0.43;// 男：腰围=身高*0.43
    public static final double PHYSICAL_TYPE_FOR_F_WAIST_MULTI_INDEX = 0.47;// 女：腰围=身高*0.47
    public static final double PHYSICAL_TYPE_FOR_WAIST_RANGE_INDEX = 3;// 腰围区间3cm
    // 体检登记，骨骼肌指标系数
    public static final double PHYSICAL_TYPE_FOR_SKELETAL_M_INDEX = 0.47;// 男：标准体重*0.47
    public static final double PHYSICAL_TYPE_FOR_SKELETAL_F_INDEX = 0.42;// 女：标准体重*0.42
    public static final double PHYSICAL_TYPE_FOR_SKELETAL_INTERVAL_MIN = 0.9;// 区间小：90%
    public static final double PHYSICAL_TYPE_FOR_SKELETAL_INTERVAL_MAX = 1.1;// 区间小：110%
    // 体检登记，体脂百分比
    public static final double PHYSICAL_TYPE_FOR_M_BODYFATPERCENT_MIN = 11;// 男：最小值
    public static final double PHYSICAL_TYPE_FOR_M_BODYFATPERCENT_MAX = 21;// 男：最大值
    public static final double PHYSICAL_TYPE_FOR_F_BODYFATPERCENT_MIN = 18;// 女：最小值
    public static final double PHYSICAL_TYPE_FOR_F_BODYFATPERCENT_MAX = 25;// 女：最大值
    // 体检登记fu_assessment_position对应类型type
    public static final String ASSESSMENT_POSITION_TYPE_FOR_PHYSICAL = "Physical";
    // 体检登记fu_assessment_position对应key，指导意见
    public static final String ASSESSMENT_POSITION_KEY_FOR_PHYSICAL_GUIDANCE = "guidance";

    public static final String PATIENT_DATA_TYPE_REGISTER = "1";// 建档
    public static final String PATIENT_DATA_TYPE_ZS = "2";// 主诉
    public static final String PATIENT_DATA_TYPE_SFTX = "6";// 随访提醒

    public static final String weightA = "超重", weightB = "上", weightC = "上-", weightD = "中+", weightE = "中",
            weightF = "中-", weightG = "下", weightH = "消瘦";
    public static final String heightA = "上+", heightB = "上", heightC = "上-", heightD = "中+", heightE = "中",
            heightF = "中-", heightG = "下", heightH = "迟缓";
    public static final String headA = "偏大", headB = "上", headC = "上-", headD = "中+", headE = "中", headF = "中-",
            headG = "下", headH = "偏小";
    public static final String bmiA = "超重", bmiB = "重", bmiC = "偏重", bmiD = "正常", bmiE = "正常", bmiF = "偏瘦", bmiG = "瘦",
            bmiH = "消瘦";

    // 身高体重 百分位阶段 定义，后续根据阶段 查询指导意见
    public static final String LEVELA = "A", LEVELB = "B", LEVELC = "C", LEVELD = "D", LEVELE = "E", LEVELF = "F",
            LEVELG = "G", LEVELH = "H";

    // 生长发育指导意见 redis key
    public static final String FOLLOW_EVALUATION_GROWTH_GUIDE_KEY = "GROWTH_GUIDE";// redis

    // 乐惠导出数据
    public static final String PATIENT_DATA_TYPE_LEHUI = "LEHUI";// 乐惠
    // 贝莉导出数据
    public static final String PATIENT_DATA_TYPE_BEILI = "BEILI";// 贝莉
    // 母乳喂养导出数据
    public static final String PATIENT_DATA_TYPE_MRWY = "MRWY";// 母乳喂养
    // 乐惠记录导出数据
    public static final String PATIENT_DATA_TYPE_LEHUIJL = "LEHUIJL";// 乐惠记录
    // 国妇婴导出数据
    public static final String PATIENT_DATA_TYPE_YYJL = "YYJL";// 抑郁焦虑
    // 国妇婴儿保主诉
    public static final String PATIENT_DATA_TYPE_EBZH = "EBZH";// 儿保主诉
    // 国妇婴卵巢早衰
    public static final String PATIENT_DATA_TYPE_LCZS = "LCZS";// 卵巢早衰

    // 微信公众号渠道
    public static final String WECHAT_CHANNEL_LH = "LEHUI";
    // 儿保随访微信公众号
    public static final String WECHAT_CHANNEL_EB = "EBSF";

    // 儿保随访 缓存key
    public static final String ACCESS_TOKEN_EBSF = "ACCESS_TOKEN_EBSF";

    // 基础儿保 公纵号 缓存token
    public static final String ACCESS_TOKEN_JCEB = "ACCESS_TOKEN_JCEB";

    // 接口ip限制 redis key
    public static final String IP_LIMIT_KEY = "IP_LIMIT_INF";


    // 儿保随访默认分组
    public static final String DEFAULT_GROUP_EBSF = "100";
    public static final String DEFAULT_QRCODE_EBSF = "1";

    public static final String MABC_ALL = "mabc00000";// mabc总描述

    public static final String MABC_BASIC_INFO = "mabc00001";// 基本信息
    public static final String MABC_FAMILY = "mabc00002";// 家庭信息
    public static final String MABC_FATHER = "mabc00003";// 父亲
    public static final String MABC_MOTHER = "mabc00004";// 母亲
    public static final String MABC_BABY = "mabc00005";// 宝宝
    public static final String MABC_SCREEN = "mabc00006";// 视屏和活动
    public static final String MABC_FEED = "mabc00007";// 喂养
    public static final String MABC_EDUCATION = "mabc00008";// 教养
    public static final String MABC_HEART = "mabc00009";// 心里
    public static final String MABC_SLEEP = "mabc00010";

    public static final String MABC_BASIC_FIVE_INFO = "mabc500001";// 五岁基本信息;
    public static final String MABC_FIVE_HEART = "mabc500003";// 五岁心里评估;

    public static final String MABC_BASIC_SIX_INFO = "";// 六岁基本信息;

    public static final String MABC_HEART_SDQ = "mabc00009_sdq";// 心里第一阶段
    public static final String MABC_HEART_BEHAVIOR = "mabc00009_behavior";// 心里第二阶段

    public static final String MABC_SLEEP_BASIC = "mabc00010_basic";// 心里第一阶段
    public static final String MABC_SLEEP_SITUATION = "mabc00010_situation";// 心里第二阶段

    public static final String MABC_FACTOR_TYPE_A = "A";// 睡眠阻抗
    public static final String MABC_FACTOR_TYPE_B = "B";// 入睡延迟
    public static final String MABC_FACTOR_TYPE_C = "C";// 睡眠持续时间
    public static final String MABC_FACTOR_TYPE_D = "D";// 睡眠焦虑
    public static final String MABC_FACTOR_TYPE_E = "E";// 夜醒
    public static final String MABC_FACTOR_TYPE_F = "F";// 异态睡眠
    public static final String MABC_FACTOR_TYPE_G = "G";// 睡眠呼吸障碍
    public static final String MABC_FACTOR_TYPE_H = "H";// 白天嗜睡

    public static final String SCAN_TYPE_DEPT = "01"; // 科室类型
    public static final String SCAN_TYPE_QUEUE = "02"; // 队列类型

    public static final String QUESTION_RULE_CONDITION_OR = "or"; // 或
    public static final String QUESTION_RULE_CONDITION_AND = "and"; // 且

    public static final String QUESTION_RULE_CONDITION_RANGE = "range"; // 范围
    public static final String QUESTION_RULE_CONDITION_EQUAL = "equal"; // 相等
    public static final String QUESTION_RULE_CONDITION_CONTAIN = "cantain"; // 相等

    public static final String TODAY_NOT_COMPLETE = "0";// 未完成
    public static final String TODAY_COMPLETED = "1";// 完成

    public static final String SYSTEM_FLAG_TRUE = "1";// 系统用户
    public static final String SYSTEM_FLAG_FALSE = "2";// 外系统用户

    // 系统默认指导意见id
    public static final String activitySpaceId = "40288abe5167faf20151680235bd0002";
    public static final String activityDiversityId = "40288abe5167faf201516802502e0003";
    public static final String fineSportsToysId = "40288abe5167faf2015168026e890006";
    public static final String heavySportsToysId = "40288abe5167faf2015168026e890004";

    public static final String communicateId = "40288abe5167faf2015168029e7a0005";// 沟通
    public static final String bigActionId = "40288abe5167faf201516802c93a0006";// 粗大动作
    public static final String fineActionId = "40288abe5167faf20151680314a60007";// 精细动作
    public static final String solveProblemId = "40288abe5167faf201516803403e0008";// 解决问题
    public static final String personSocialId = "40288abe5167faf201516803864a0009";// 个人-社会

    // 中文描述
    public static final String activitySpaceName = "活动空间";
    public static final String activityDiversityName = "活动多样性";
    public static final String fineSportsToysName = "精细运动玩具";
    public static final String heavySportsToysName = "粗大运动玩具";

    public static final String communicateName = "沟通";// 沟通
    public static final String bigActionName = "粗大动作";// 粗大动作
    public static final String fineActionName = "精细动作";// 精细动作
    public static final String solveProblemName = "解决问题";// 解决问题
    public static final String personSocialName = "个人-社会";// 个人-社会

    // mq队列同步消息 主消息部分
    public static final String MQ_MESSAGE_BODY = "commParam";
    // 消息类型
    public static final String MQ_MESSAGE_TYPE = "mqType";
    // 消息来源
    public static final String MQ_MESSAGE_SOURCETYPE = "sourceType";

    // 阿里云图片识别ocr
    // 请求Header Accept
    public static final String HTTP_HEADER_ACCEPT = "Accept";
    // 请求Body内容MD5 Header
    public static final String HTTP_HEADER_CONTENT_MD5 = "Content-MD5";
    // 请求Header Content-Type
    public static final String HTTP_HEADER_CONTENT_TYPE = "Content-Type";
    // 请求Header UserAgent
    public static final String HTTP_HEADER_USER_AGENT = "User-Agent";
    // 请求Header Date
    public static final String HTTP_HEADER_DATE = "Date";

    // 表单类型Content-Type
    public static final String CONTENT_TYPE_FORM = "application/x-www-form-urlencoded; charset=UTF-8";
    // 流类型Content-Type
    public static final String CONTENT_TYPE_STREAM = "application/octet-stream; charset=UTF-8";
    // JSON类型Content-Type
    public static final String CONTENT_TYPE_JSON = "application/json; charset=UTF-8";
    // XML类型Content-Type
    public static final String CONTENT_TYPE_XML = "application/xml; charset=UTF-8";
    // 文本类型Content-Type
    public static final String CONTENT_TYPE_TEXT = "application/text; charset=UTF-8";

    // 签名Header
    public static final String X_CA_SIGNATURE = "X-Ca-Signature";
    // 所有参与签名的Header
    public static final String X_CA_SIGNATURE_HEADERS = "X-Ca-Signature-Headers";
    // 请求时间戳
    public static final String X_CA_TIMESTAMP = "X-Ca-Timestamp";
    // 请求放重放Nonce,15分钟内保持唯一,建议使用UUID
    public static final String X_CA_NONCE = "X-Ca-Nonce";
    // APP KEY
    public static final String X_CA_KEY = "X-Ca-Key";

    // 默认请求超时时间,单位毫秒
    public static final int DEFAULT_TIMEOUT = 60000;

    // 签名算法HmacSha256
    public static final String HMAC_SHA256 = "HmacSHA256";

    // 参与签名的系统Header前缀,只有指定前缀的Header才会参与到签名中
    public static final String CA_HEADER_TO_SIGN_PREFIX_SYSTEM = "X-Ca-";

    // 请求方法
    public enum Method {
        GET, POST_FORM, POST_STRING, POST_BYTES, PUT_FORM, PUT_STRING, PUT_BYTES, DELETE;
    }

    // mq推送消息类型
    public static final String MQ_MESSAGE_PUSH_TO_SCAN = "1";
    // mq接收消息类型
    public static final String MQ_MESSAGE_GET_FROM_SCAN = "2";

    public static final String MQ_QUESTIONNAIRE_RULE_NAME = "synchrules"; // 队列级同步权限
                                                                          // keyName
    public static final String MQ_SYNCH_BUSI_RULE_NAME = "busirules"; // 数据同步
                                                                      // 业务规则
    // 字段映射关系
    public static final String MQ_QUESTION_ID_PUSH = "1"; // 只推送
    public static final String MQ_QUESTION_ID_GET = "2"; // 只接收
    public static final String MQ_QUESTION_ID_NO = "3"; // 都不接收和推送

    // 小程序互通字段type映射关系
    public static final Integer CREATE_ARCHIVE = 1; // 2.0高危儿系统建档同步
    public static final Integer GUIDANCE_SYSN = 2; // 2.0诊后指导数据同步
    public static final Integer BLOOD_ARCHIVE = 3; // 3.0血液病系统建档同步
    public static final Integer BLOODROUTIME_RECORD = 4; // 3.0血常规记录同步
    public static final Integer BODYTEMPERATURE_RECODE = 5; // 3.0体温记录同步
    public static final Integer GROWTH_REPORT = 6; // 2.0生长发育评测同步
    public static final Integer EVALUATION_GUIDE = 7; // 2.0生长发育指导意见同步
    public static final Integer PATIENT_APPOINTMENT = 8; // 2.0患者预约
    public static final Integer MEDICATION_SYSN = 9; // 3.0用药记录数据同步
    public static final Integer DELETE_USER = 10; // 删除患者同步
    public static final Integer ADD_EDUCATION = 11; // 新增宣教推送
    public static final Integer UPDATE_USER = 12; // 患者信息修改推送
    public static final Integer ADD_USER = 13; // pc端患者新增推送
    public static final Integer BLOOD_GUIDANCE_SYSN = 14;// 3.0血液病诊后指导数据同步


    // 公用所属系统类型
    public static final Integer SYSTEM_TYPE_2 = 1; // 2.0系统
    public static final Integer SYSTEM_TYPE_3 = 2; // 3.0系统

    public static final String CONTENT_TYPE = "application/json";

    // 阿里云消息发送和接收 单独存放日志文件
    public static final String LOG_OUTPUT_PATH_CONSUMER = "com.bbcare.aliyunconsumer";
    public static final String LOG_OUTPUT_PATH_PRODUCER = "com.bbcare.aliyunproducer";
    // 服务总线接口调用日志 和 接口提供方接收日志 单独存放文件
    public static final String LOG_OUTPUT_PATH_CSB_SEND = "com.bbcare.csb.send";
    public static final String LOG_OUTPUT_PATH_CSB_RECEIVE = "com.bbcare.csb.receive";

    // 常用类型定义
    public static final int COMMON_TYPE_FOR_STRING = 1;// String
    public static final int COMMON_TYPE_FOR_INTEGER = 2;// Integer
    public static final int COMMON_TYPE_FOR_DATE = 3;// 日期格式
    public static final int COMMON_TYPE_FOR_FLOAT = 4;// Float

    // 校验规则定义
    public static final int CHECK_TYPE_FOR_NOTNULL = 1;// 非空校验
    public static final int CHECK_TYPE_FOR_NOTNULL_AND_GEZERO = 2;// 非空且大于等于0
    public static final int CHECK_TYPE_FOR_NOTNULL_FORMAT = 3;// 非空且格式校验
    public static final int CHECK_TYPE_FOR_FORMAT = 4;// 类型、格式校验 ，可为空

    // 血液病-疗程状态
    public static final String COURSESTATUS_DRAFT = "0";
    public static final String COURSESTATUS_RELEASE = "1";
    public static final String COURSESTATUS_DELETE = "2";

    /** 临床路径相关定义--begin **/

    // 项目角色 患者类型（微信端）
    public static final String PROJECT_ROLE_PATIENT_TYPE_WECHAT = "1";
    // 项目角色 医生端角色类型
    public static final String PROJECT_ROLE_PATIENT_TYPE_DOCTOR = "2";

    // 队列默认路径序号 0
    public static final String QUEUE_DEFAULT_CP_SEQ = "0";

    // 任务业务类型
    public static final String CP_TASK_BUSI_TYPE_A0000 = "A1000"; // 建档
    public static final String CP_TASK_BUSI_TYPE_A0101 = "A0101"; // 自我检测
    public static final String CP_TASK_BUSI_TYPE_A0202 = "A0202"; // 随访指导
    public static final String CP_TASK_BUSI_TYPE_A0401 = "A0401"; // 疫苗任务大类型
    public static final String CP_TASK_BUSI_TYPE_A0201 = "A0201"; // 门诊健康检查

    /** 临床路径相关定义--end **/

    /* ehr constants start */
    public static final String DEAL_STATUS_NORMAL = "01";
    public static final String DEAL_TYPE_RECORD = "02";
    public static final String DEAL_TYPE_PLAN = "01";

    // csb
    public static final String DEFAULT_API_VERSION = "1.0.0";
    public static final String API_NAME_QUERYUSEREHR = "ehr_queryUserEhr";
    /** 通用随访任务同步接口 */
    public static final String API_NAME_SAVEUSEREHR = "ehr_saveUserEhr";
    /** 随访建档任务同步单独接口 */
    public static final String API_NAME_SAVEARCHIVEUSEREHR = "ehr_synchUserArchive";
    /** 查询数据元记录接口 */
    public static final String API_NAME_FOR_GETDATAELEMENTBYDECODE = "ehr_getDataEelmentByDeCode";
    public static final String API_NAME_GETDECODELIST = "ehr_getDecodeList";
    public static final String API_NAME_UPDATESEQNOBYBUSIIDANDPLANID = "ehr_updateSeqNoByBusiIdAndPlanId";
    public static final String API_NAME_REDUCEDEALDATE = "ehr_reduceDealDate";
    public static final String API_NAME_DELETEBYSEQNO = "ehr_deleteBySeqNo";
    public static final String API_NAME_QUERYUSEREHRHIS = "ehr_queryUserHis";
    public static final String API_NAME_CHANGESTATUS = "ehr_changeStatus";
    public static final String API_NAME_STOPMEDICINE = "ehr_stopMedicine";
    public static final String API_NAME_UPDATEDEALDATE = "ehr_updateDealDate";
    public static final String API_NAME_INSERTEVENTBUSI = "insertEventBusi";
    /**
     * 建档调用血液病治疗方案实例化接口
     */
    public static final String API_NAME_FOR_APPLY_BLOOD_TREAT_SCHEME = "applyBloodTreatScheme";
    /**
     * 建档调用血液病接口地址名称
     */
    public static final String API_URL_FOR_APPLY_BLOOD_TREAT_SCHEME = "bloodAppUrl";
    /**
     * 建档调用血液病接口地址名称
     */
    public static final String API_URL_FOR_EHR_APP = "ehrAppUrl";

    // 随机分组类型
    /**
     * 随机分组类型，0血液病随机分组
     */
    public static final String PLAN_GROUP_TYPE_DISTREAT = "0";

    public static final String CSB_ERRORCODE = "20000";// csb级错误
    public static final String CSB_SUCCESSCODE = "0";// csb成功
    /* ehr constants end */

    /* 早产儿的定义 */
    public static final int BIRTH_DAY = 730;
    public static final int PREGNANCY_DAY = 259;

    // 租户下默认项目状态
    public static final String TENANT_DEFAULT_PROJECT_STATUS = "0";

    public static final Object MOVE_DIRECTION_UP = "up";
    public static final Object MOVE_DIRECTION_DOWN = "down";

    // DST(0~6发育筛查测验)
    public static final String FOLLOW_EVALUATION_DST = "DST";
    public static final String FOLLOW_EVALUATION_DSTANSWER = "DST_ANSWER";

    /* 访视状态 */
    public static final String VISIT_STATUS_A1 = "1";// 未访视
    public static final String VISIT_STATUS_A2 = "2";// 已访视

    /** 消息类型1:app提醒 2:短信提醒 3:邮件提醒 4:微信提醒 -微信 */
    public static final String MESSAGE_TYPE_WECHAT = "4";
    public static final String MESSAGE_TYPE_SMS = "2";
    /** 消息发送 1:成功 2:失败 */
    public static final String MESSAGE_SEND_SUCCESS = "1";
    public static final String MESSAGE_SEND_FAIL = "2";

    // 微信消息发送成功 返回标志
    public static final String WECHAT_MESSAGE_SEND_SUCCESS = "0";

    public static final String CP_TASK_DECODE_ANSWER = "1";

    /** 静态配置表 健康类型的type */
    public static final String STATIC_PARAM_HEALTH_TYPE = "1617";

    // 临时随访标识
    public static final String PATIENT_TASK_TEMPORARY_TASK = "1";

    // Excel模板批量导入状态
    public static final String EXCEL_TEMPLATE_STATUS = "1";

    //结案类型
    public static final Integer MANUAL_CLOSE= 1;
    public static final Integer FOLLOWUP_OVER= 2;

}
